<?php

class CodeComponent extends BlueprintComponent {
	
	function parse(&$element, $code) {
		$doc = $element->document;
		$code = str_replace('; ', ";\n", $code);
		$element->parentNode->insertBefore($doc->createPHPNode($code), $element);
	}
}
?>